<extend file='resource/view/home'/>
<block name="content">
    <article>
        <div class="_head">
            <h1>{{$articleData['title']}}</h1>
								<span>
								作者：
								<a href="">{{$articleData['title']}}</a>
								</span>
            •
            <!--pubdate表⽰示发布⽇日期-->
            <time pubdate="pubdate" datetime="{{date('y-m-d',$articleData['sendtime'])}}">{{date('y-m-d',$articleData['sendtime'])}}</time>
        </div>
        <div class="_digest">
            <p>
                {{$articleData['content']}}
            </p>
        </div>
        <!-- 多说评论框 start -->
        <div class="ds-thread" data-thread-key="{{$articleData['aid']}}" data-title="{{$articleData['title']}}" data-url="{{u('')}}"></div>
        <!-- 多说评论框 end -->
        <!-- 多说公共JS代码 start (一个网页只需插入一次) -->
        <script type="text/javascript">
            var duoshuoQuery = {short_name:"lcq123"};
            (function() {
                var ds = document.createElement('script');
                ds.type = 'text/javascript';ds.async = true;
                ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
                ds.charset = 'UTF-8';
                (document.getElementsByTagName('head')[0]
                || document.getElementsByTagName('body')[0]).appendChild(ds);
            })();
        </script>
        <!-- 多说公共JS代码 end -->

        <div class="_footer">
            <i class="glyphicon glyphicon-tags"></i>
            <foreach from="$articleData['tag']" key="$k" value="$v">
            <a href="{{u('listpage.index',['tid'=>$v['tid']])}}">{{$v['tname']}}</a>、
            </foreach>
        </div>

    </article>
    </block>
